package org.wisigoth.chat.client;
/**
 * Wisigoth user
 * It has 
 * - a String representing the nickname of the user
 * - an e-mail given during the account creation
 * - an {@link Avatar}, the image choosed by the user as its avatar
 * @author tof
 *
 */
public interface WisigothUser {
	/**
	 * Return a string representing the nickname of a wisigoth user	
	 * @return String representing the nickname's user
	 */
	public String getNickName();
	/**
	 * Return a string representing the e-mail of a wisigoth user	
	 * @return String representing the user's e-mail
	 */	
	public String getEmail();
	/**
	 * Return the {@link Avatar} choosen by the WisigothUser	
	 * @return Avatar
	 */
	public Avatar getAvatar();


	/**
	 * Cast a WisigothUser into a Contact
	 * @return {@link Contact}
	 */
	public Contact toContact();


}
